package com.gears.bachUpload.service;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.gears.bachUpload.dao.FileDao;

@Service("fileService")
public class FileService {
	
	@Resource(name = "fileDao")
	private FileDao fileDao;
	
	public List<Map<String, Object>> getResouceNotHandle() {
		return fileDao.getResouceNotHandle();
	}

	public void updateFileInfo(String id, String fileAbsolutePath) {
		fileDao.updateFileInfo(id,fileAbsolutePath);
		
	}

	public void makeResourceHandling(String id) {
		fileDao.makeResourceHandling(id);
	}

	public void returnStatus(String id){
		fileDao.returnStatus(id);
	}
}
